package com.mh.www.mh_frame.view.adapter;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mh.www.mh_frame.R;
import com.mh.www.mh_frame.model.bean.MeetingSummaryBean;
import com.mh.www.mh_frame.util.DateUtil;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

public class MeetingSummaryAdapter2 extends BaseQuickAdapter<MeetingSummaryBean.DataBean,BaseViewHolder> {
    @Override
    protected void convert(BaseViewHolder helper, MeetingSummaryBean.DataBean item) {
        helper.setText(R.id.tv_item_title,item.getTITLE());
        helper.setText(R.id.tv_date,DateUtil.formatDateTime(item.getCREATEDATE(),DateUtil.DF_YYYY_MM_DD));
    }

    public MeetingSummaryAdapter2(@Nullable List<MeetingSummaryBean.DataBean> data) {
        super(R.layout.item_meeting_summary,data);
    }



}
